<!--#dialog_title="Color Selection Object"-->
<html>
<body width=306 height=200 popup margin=0 marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
<img width=1 height=1 save=fake>
<img src=images/button_tools.png save=tools>
<#if genericSwitch==1>
	<table cellspacing=6>
	<tr>
		<td width=66>
			<input name=cancel type=button value="Cancel" height=20 textSize=14 width=60 alt="Close this window without saving">	
		</td>
		<td width=60>
			<input type=button name=ok value="Apply" bgcolor=#colorSelection textcolor=#colorSelectionText height=20 width=60 textSize=14 alt="Apply these changes and close this window">
		</td>
		<td width=177 align=right>
			<input type=button name=paletteMenu toolbar=1 width=30 height=20 xpar=#tools grayxpar=#tools fgcolor=#colorIcon fgcolorOver=#colorSelection graycolor=#colorToolbarIconGrey img=#fake grayimg=#fake bgcolor=#colorDialog nofade=1 alt="Palette Menu" ascent=20>
		</td>
	</tr>
	</table>
<#else>
	<img width=306 height=1 bgcolor=#colorDialog>
<#endif>
<table>
<tr>
	<td bgcolor=#colorDialog width=1></td>
	<td bgcolor=#colorDialog>
		<table>
		<tr>
			<td width=129 bgcolor=#colorGroupBox>
				<img height=5><br>
				<input type=cpicker name=color><br>
			</td>
			<td width=1 bgcolor=#colorGroupBox><img width=1 height=169></td>
			<td width=174 bgcolor=#colorGroupBox>
				<img height=3><br>
				<table>
				<tr>
					<td>
						<select name=palette width=167 height=44 ownerdraw=1></select>
					</td>
				</tr>
				<tr>
					<td><input type=custom name=swatches width=168 height=124 alt="Click a swatch to load that color.\nClick the [+] to create a new swatch from the current color."></td>
				</tr>
				</table>
			</td>
		</tr>
		</table>
		<img height=1 bgcolor=#colorDialog>
	</td>
	<td bgcolor=#colorDialog width=1></td>
</tr>
</table>
<#if genericSwitch==0>
	<table cellspacing=6>
	<tr>
		<td width=66>
			<input name=cancel type=button value="Cancel" height=20 textSize=14 width=60 alt="Close this window without saving">	
		</td>
		<td width=60>
			<input type=button name=ok value="Apply" bgcolor=#colorSelection textcolor=#colorSelectionText height=20 width=60 textSize=14 alt="Apply these changes and close this window">
		</td>
		<td width=177 align=right>
			<input type=button name=paletteMenu toolbar=1 width=30 height=20 xpar=#tools grayxpar=#tools fgcolor=#colorIcon fgcolorOver=#colorSelection graycolor=#colorToolbarIconGrey img=#fake grayimg=#fake bgcolor=#colorDialog nofade=1 alt="Palette Menu" ascent=20>
		</td>
	</tr>
	</table>

<#else>
	<img width=257 height=1 bgcolor=#colorDialog>

<#endif>
</body>
</html>
